package com.example.demo.entity;

public class Teacher {
    private Integer tid;
    private String tname;
    private Integer sex;
    private String college;
    private String grade;
    private String tel;

    public Teacher() {
    }

    public Teacher(Integer tid, String tname, Integer sex, String college, String grade, String tel) {
        this.tid = tid;
        this.tname = tname;
        this.sex = sex;
        this.college = college;
        this.grade = grade;
        this.tel = tel;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
}
